package com.stox.client.api.watchlist.event;

import org.springframework.context.ApplicationEvent;

import com.stox.shared.model.Watchlist;

public abstract class AbstractWatchlistEvent extends ApplicationEvent {
	private static final long serialVersionUID = 1L;

	private final Watchlist watchlist;
	
	public AbstractWatchlistEvent(Object source, Watchlist watchlist) {
		super(source);
		this.watchlist = watchlist;
	}
	
	public Watchlist getWatchlist() {
		return watchlist;
	}

}
